body,
html {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  height: 12vw;
  box-sizing: border-box;
  border-bottom: 1px solid #dbdbdb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header article {
  width: 74.66667vw;
  height: 7.73333vw;
  background: #ebebeb;
  text-align: center;
  margin: 0 4.26667vw 0 2.66667vw;
  color: #999;
  line-height: 7.73333vw;
  border-radius: 10px;
}

header a {
  display: flex;
  align-items: center;
  font-size: 4vw;
  color: #0084ff;
  padding-right: 4vw;
}

header a i {
  display: inline-block;
  vertical-align: middle;
  margin-right: 1.33333vw;
}

nav {
  height: 9.46667vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #dbdbdb;
}

nav .active {
  border-bottom: 2px solid #444444;
}

nav .active a {
  color: #1a1a1a;
}

nav li {
  line-height: 9.46667vw;
  height: 100%;
  flex: 1;
}

nav li a {
  display: block;
  height: 100%;
  text-align: center;
  color: #999;
  font-weight: bold;
}

main {
  flex: 1;
  overflow: auto;
  background: #ebebeb;
}

main section {
  margin-top: 2.66667vw;
  background: white;
}

main section figure {
  border-bottom: 1px solid #d3d3d3;
  min-height: 25.06667vw;
  max-height: 38.4vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

main section figure:nth-child(-n+3) figcaption span {
  color: #f1403c;
}

main section figure figcaption {
  padding-top: 4vw;
  margin-bottom: 3.73333vw;
  font-size: 4.26667vw;
  color: #1a1a1a;
  font-weight: bold;
  width: 58.66667vw;
  padding-left: 10.66667vw;
}

main section figure figcaption span {
  display: inline-block;
  width: 10.66667vw;
  text-align: center;
  color: #c2a469;
  position: absolute;
  left: 0;
}

main section figure p {
  padding-left: 10.66667vw;
  color: #a3a3a3;
  font-size: 3.2vw;
  padding-bottom: 3.2vw;
}

main section figure img {
  border-radius: 4px;
  width: 28vw;
  height: 18.66667vw;
  position: absolute;
  top: 50%;
  right: 2.66667vw;
  transform: translateY(-50%);
}

footer {
  height: 12.8vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #d3d3d3;
}

footer p a {
  color: #999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer p a i {
  font-size: 5.33333vw !important;
}

footer p .active {
  color: #0084ff;
}
